<?php 
namespace ZN\Permission;

interface PermissionInterface
{
	//----------------------------------------------------------------------------------------------------
	//
	// Yazar      : Ozan UYKUN <ozanbote@windowslive.com> | <ozanbote@gmail.com>
	// Site       : www.zntr.net
	// Lisans     : The MIT License
	// Telif Hakkı: Copyright (c) 2012-2016, zntr.net
	//
	//----------------------------------------------------------------------------------------------------
	
	//----------------------------------------------------------------------------------------------------
	// start()
	//----------------------------------------------------------------------------------------------------
	// 
	// @param numeric $roleId : 0
	// @param string  $process: empty 
	//
	//----------------------------------------------------------------------------------------------------
	public function start($roleId, $process);
	
	//----------------------------------------------------------------------------------------------------
	// end()
	//----------------------------------------------------------------------------------------------------
	// 
	// @param void
	//
	//----------------------------------------------------------------------------------------------------
	public function end();
	
	//----------------------------------------------------------------------------------------------------
	// process()
	//----------------------------------------------------------------------------------------------------
	// 
	// @param numeric $roleId : 0
	// @param string  $process: empty 
	// @param string  $object : empty
	//
	//----------------------------------------------------------------------------------------------------
	public function process($roleId, $process, $object);
	
	//----------------------------------------------------------------------------------------------------
	// page()
	//----------------------------------------------------------------------------------------------------
	// 
	// @param numeric $roleId : 0
	//
	//----------------------------------------------------------------------------------------------------
	public function page($roleId);	
}